#pragma once
#include "DXAMLCommon.h"
#include "CCanvas.h"


class CTransitionRoot :
	public CCanvas
{
private: 
	CTransitionRoot(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT GetChildrenInRenderOrder(CUIElement * * * pppUIElements, XUINT32 * puiChildCount);
protected: 
	virtual HRESULT GenerateChildOuterBounds(struct XRECTF_RB * pBounds);
	virtual HRESULT BoundsTestChildren(const HitTestPolygon & target, struct IBoundsTestCallback * pCallback, enum BoundsWalkHitResult::Value * pResult);
	virtual HRESULT BoundsTestChildren(const struct XPOINTF & target, struct IBoundsTestCallback * pCallback, enum BoundsWalkHitResult::Value * pResult);

};
